package com.ms.p2p.dao;


import com.ms.p2p.entity.account.Withdraw;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface MemberWithDrawDao extends CrudDao<Withdraw> {

	List<Map<String, Object>> findPager(@Param("begin") int begin,
										@Param("size") Integer pageSize, @Param("status") String status,
										@Param("userId") String userId, @Param("userName") String userName,
										@Param("begin_date") String begin_date,
										@Param("end_date") String end_date);
	int findCount(@Param("status") String status,
				  @Param("userId") String userId, @Param("userName") String userName,
				  @Param("begin_date") String begin_date,
				  @Param("end_date") String end_date);
	Map<String,Object> getEmployeeBycashId(int cashId);
	String recharegeSucess(@Param("user_id") int user_id);

}
